package com.lyx.rpc.protocol.base;

import java.io.Serializable;

/**
 * @Author by lyx
 * 消息体基础类
 */
public class RpcMessage implements Serializable {
    // 是否单向调用
    private boolean oneway;
    // 是否异步调用
    private boolean async;

    public boolean getOneway() {
        return oneway;
    }

    public void setOneway(boolean oneway) {
        this.oneway = oneway;
    }

    public boolean getAsync() {
        return async;
    }

    public void setAsync(boolean async) {
        this.async = async;
    }
}
